import React,{Component} from "react";
import {
    BrowserRouter as Router,
    Switch,
    Route,
    Link
} from "react-router-dom";
import UserList from "../iteration/userListe";
import UserDetail from "../iteration/userDetail";

export default class User extends Component<any, any>{
    render() {
        return (
            <div>
                <Switch>
                    <Route path={"/user/list"}>
                        <UserList />
                    </Route>
                    <Route path={"/user/detail"}>
                        <UserDetail />
                    </Route>
                </Switch>
            </div>
        )
    }
}
